﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FacebookWrapper.ObjectModel;
using FacebookWrapper;

namespace B13_Ex02_David_300512340_Alexey_321203689
{
    public class FeedWrapper
    {
        public Post Feed { get; set; }

        public override string ToString()
        {
            return string.Format("{0}:  {1}", new UserWrapper() { UserInformation = Feed.From }, Feed.Message);
        }

        public DateTime? GetCreationTime()
        {
            return Feed.UpdateTime;
        }
    }
}
